import { i18n } from "@/i18n";

export const getWaveTypeOptions = async ()=>{
  const i18nObj = i18n.global
  const res = [
    { label: i18nObj.t('products.productPage.aeWave'), val: 'ae' },
    { label: i18nObj.t('products.productPage.viWave'), val: 'vi' },
  ]
  return Promise.resolve(res)
}

export const getWaveDomainOptions = async ()=>{
  const i18nObj = i18n.global
  const res = [
    { label: i18nObj.t('products.productPage.timeDomain'), val: 0 },
    { label: i18nObj.t('products.productPage.frequencyDomain'), val: 1 }
  ]
  return Promise.resolve(res)
}

export const getWaveDirectionOptions = async ()=>{
  const res = [
    { label: 'Z', val: 2 },
    { label: 'X', val: 0 },
    { label: 'Y', val: 1 }
  ]
  return Promise.resolve(res)
}
